using HotChocolate.Execution;

namespace HotChocolate.Resolvers;

/// <summary>
/// This delegates describes the subscribe resolver interface that the execution engine
/// uses to subscribe to an event stream.
/// </summary>
/// <param name="context">The resolver context.</param>
/// <returns>
/// Returns the the event stream.
/// </returns>
public delegate ValueTask<ISourceStream> SubscribeResolverDelegate(IResolverContext context);
